package com.oms.app.order.dao;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.oms.app.order.model.Order;
import com.oms.core.dao.IGeneralDAO;

/**
 * @author Loong_Mit
 * @date Sep 1, 2012 6:31:35 PM
 */

public interface IOrderDAO extends IGeneralDAO<Order, String> {

	List<Order> getOrderList(HttpServletRequest request);
	
	boolean auditOrder(String orderIds, String status);
	
	boolean deleteOrder(String PK);
	
	List<Map<String, Object>> getOrderDetailList(String orderId);
	
	boolean changeDetailStatus(String detailId, String status);
	
	boolean delDetailsByOrderId(String orderId);
	
	boolean delOrderDetailsByPK(String PK);
}
